﻿namespace Wallpaper.Models.Entities
{
    /// <summary>
    /// 下载记录表
    /// </summary>
    /// <summary>
    /// 下载记录实体
    /// </summary>
    public class DownloadRecord : BaseEntity
    {

        /// <summary>
        /// 下载用户ID
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 被下载的壁纸ID
        /// </summary>
        public string WallpaperId { get; set; }

        /// <summary>
        /// 本次下载消耗的积分
        /// </summary>
        public int PointsCost { get; set; }

        /// <summary>
        /// 下载时间
        /// </summary>
        public DateTime CreatedAt { get; set; }
    }
}
